Yabe\Ukiyo\Ecommerce\Platform\WooCommerce\Payment A

Total Complexity 51
Dependencies 4
Dependents 1
Total lines 213
Lines of code 157
Logical lines of code 94
Comment lines 34
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
when_subscription_status_completed()
A
46 12 31
when_payment_status_canceled()
A
52 8 23
fresh_order()
S
53 6 16
subscription_status_updated()
S
62 4 12
refresh_order()
S
60 3 11
order_status_changed()
S
65 3 9
when_payment_status_completed()
S
70 2 7
order_status_completed()
S
69 2 7
number_max_sites()
S
78 1 3
is_order_complete()
S
78 1 3
number_active_duration()
S
78 1 3
is_should_renewal()
S
78 1 3
is_should_generate()
S
78 1 3
revoke()
S
73 1 5
revoke_license()
S
73 1 4
revoke_order()
S
73 1 4
deactivate()
S
69 1 5
is_renewal_complete()
S
78 1 3
__construct()
S
69 1 5